package com.ruoyi.yuan.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 省信息对象 yuan_province
 * 
 * @author guifeng
 * @date 2022-08-25
 */
public class Province extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 省ID */
    private Long provinceId;

    /** 省名 */
    @Excel(name = "省名")
    private String provinceName;

    /** 国家ID */
    @Excel(name = "国家ID")
    private Long nationId;

    /** 市信息表信息 */
    private List<City> cityList;

    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setNationId(Long nationId) 
    {
        this.nationId = nationId;
    }

    public Long getNationId() 
    {
        return nationId;
    }

    public List<City> getCityList()
    {
        return cityList;
    }

    public void setCityList(List<City> cityList)
    {
        this.cityList = cityList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("provinceId", getProvinceId())
            .append("provinceName", getProvinceName())
            .append("nationId", getNationId())
            .append("cityList", getCityList())
            .toString();
    }
}
